﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SponsorshipManager.Domain
{
    public class Family : DomainObject  
    {
        List<Parent> _parents;
        List<Child> _children;

        public string FamilyName
        {
            get;
            set;
        }

        public List<Parent> Parents
        {
            get
            {
                if (_parents == null)
                {
                    _parents = new List<Parent>();
                }
                return _parents;
            }
            set
            {
                _parents = value;
            }
        }
        public List<Child> Children
        {
            get
            {
                if (_children == null)
                {
                    _children = new List<Child>();
                }
                return _children;
            }
            set
            {
                _children = value;
            }
        }
    }
}
